/**
*  \file sdtest_cfg.h
*
*  \brief
*
*  \author Michael J. Hohmann  <michael.hohmann@linde-mh.de>
*
*
*/

#ifndef SDTEST_CFG_H_INCLUDED
#define SDTEST_CFG_H_INCLUDED

/*================================================[ public includes  ]================================================*/
#include "../cfg/prj.h"

/*================================================[ public defines   ]================================================*/

/** Verify Buffer Size
* Two buffers of this size will be allocated on the stack.
* The buffers will be used to compare the complete content of the device under test and the oracle.
*/
#define SDTEST_VERIFY_BUFFER_SIZE 13

/** Maximum size of compare test.
* A buffer of this size will be allocated on the stack during the compare test.
*/
#define SDTEST_COMPARE_MAX 0x100

/** Size of Read Buffer.
* Two buffers of this size will be allocated on the stack during the read test.
*/
#define SDTEST_READ_MAX 0x100

/** Size of Write Buffer.
* A buffer of this size will be allocated on the stack during the write test.
*/
#define SDTEST_WRITE_MAX 0x100


/** Number of random tests */
#define SDTEST_RAND_TEST 		U32_CONST( 0x100 )
#define SDTEST_RAND_READ		SDTEST_RAND_TEST
#define SDTEST_RAND_WRITE		SDTEST_RAND_TEST
#define SDTEST_RAND_SET			SDTEST_RAND_TEST
#define SDTEST_RAND_COMPARE		SDTEST_RAND_TEST
#define SDTEST_RAND_COPY		SDTEST_RAND_TEST

/*================================================[ public datatypes ]================================================*/

/*================================================[ public variables ]================================================*/

/*================================================[ inline functions ]================================================*/

/*================================================[ public functions ]================================================*/

/*====================================================================================================================*/

#endif

/***********************************************************************************************************************
*                             Copyright 2017 Linde Material Handling. All rights reserved.                             *
***********************************************************************************************************************/
